
<div class="section section-small" style="height:260px;">
<div class="section-header">
<h5>
Assigned Vehicles
<small></small>
</h5>


</div>
<div class="section-body">
    <?php 
   
if($result_AssignedVehicles->seller->source[0])
{  ?> 
<table class="table table-striped table-condensed" id="vehicles-table">
<tbody>
<?php foreach($result_AssignedVehicles->seller->source as $assined_row) {  ?>    
<tr>
<td>
<small><?php echo "#".$assined_row->vehicle_id ?></small>
<a href="view_page.php?id=<?php echo $assined_row->vehicle_id ?>"><?php echo $assined_row->year." ".$assined_row->make." ".$assined_row->model ?></a>
</td>
<td>
<span class="label label-warning">New Vehicle</span>
<small>
<?php echo $assined_row->v_street_address." ".$assined_row->v_city." ".$assined_row->v_state ?>
</small>
</td>
<td class="ar" style="width:65px">

</td>
</tr>
<?php }?>

</tbody>
</table>
    
<ul class="pager">
<li class="next">
<a href="vehicle_list.php">All Vehicles
→
</a></li>
</ul>
    
<?php }
else
{?>
   <div class="row-fluid">
        <div class="span12 ac">
            <div class="data-block" style="margin-top: 85px;">
                <h2 style="color: #999;">No Vehicles</h2>
            </div>
        </div>
        
    </div>
<?php 

}
?>
    
</div>

</div>
